package com.yunhe.day322.service.impl;

import com.yunhe.day322.dao.TravellerDao;
import com.yunhe.day322.domain.Traveller;
import com.yunhe.day322.service.TravellerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class TravellerServiceImpl implements TravellerService {
    @Autowired
    private TravellerDao travellerDao;
    @Override
    public List<Traveller> findAll() {

        return travellerDao.findAll();
    }
}
